@import "./configuration.scss";

.adContainer {
    min-height: 100%;
    padding-bottom: 2.12rem;
    font-family: "MiSans-Regular";
}

.adBanner {
    width: 100%;
    height: 7.5rem;
}

.adContent {
    width: 100%;
    padding: 0 0.25rem;
    box-sizing: border-box;
    position: relative;
    margin-top: -3.32rem;
}

.adDetailBox {
    width: 100%;
    height: 8.28rem;
    background: #FFFFFF;
    border-radius: 0.33rem;
}
.adInfoBox {
    width: 100%;
    padding: 0.56rem 0.5rem 0;
    box-sizing: border-box;
    border-radius: 0.33rem;
}
.adTit {
    width: 100%;
    font-size: 0.47rem;
    font-family: "MiSans-Demibold";
    font-weight: bold;
    color: $main-color;
    @include ellipsis();
}
.adTagBox {
    width: 100%;
    @include flex(row, space-between, center);
}

.adTags {
    @include flex(row, space-between, center);
    .adTag {
        padding: 0.11rem 0.2rem;
        background: rgba(255,132,16,0.1);
        border-radius: 0.13rem;
        color: #FF8410;
        font-size: 0.22rem;
        margin-right: 0.14rem;
        margin-top: 0.14rem;
    }
}
.adTagCount {
    font-family: "MiSans-Regular";
    font-size: 0.28rem;
    color: $sec-color;
}
.adLine {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin-top: 0.5rem;
}

.adIntroBox {
    padding-top: 0.45rem;
    border-radius: 0.33rem;
}
.adIntroTimeBox {
    padding-left: 0.5rem;
    box-sizing: border-box;
    .adIntroTimeTit {
        font-size: 0.25rem;
        color: $thr-color;
        font-family: "MiSans-Regular";
        margin-bottom: 0.13rem;
    }
    .adIntroTime {
        font-size: 0.29rem;
        color: $main-color;
        font-family: "MiSans-Medium";
    }
}
.adIntroTargetBox {
    margin-top: 0.49rem;
    margin-bottom: 0.53rem;
}

.adIntroModel {
    width: 100%;
    @include flex(row, flex-start, center);
    .adIntroModelTxt {
        width: 5.2rem;
        font-size: 0.29rem;
        color: $main-color;
        font-family: "MiSans-Medium";
        @include ellipsis();
        margin-right: 0.42rem;
    }
    .adIntroModelArrow {
        width: 0.63rem;
        height: 0.63rem;
    }
}
.adModelLineBox {
    width: 100%;
    padding: 0 0.51rem;
    box-sizing: border-box;
}
.adModelLine {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin-top: 0.26rem;
}

.adModelTip {
    width: 100%;
    padding-left: 0.44rem;
    padding-right: 0.61rem;
    box-sizing: border-box;
    @include flex(row, center, flex-start);
    margin-top: 0.42rem;
}
.adModelTipIcon {
    width: 0.2rem;
    color: rgba(0, 0, 0, 0.30);
}
.adModelTipTxt {
    font-size: 0.22rem;
    color: rgba(0, 0, 0, 0.30);
    font-family: "MiSans-Regular";
}

.adInfoEnrollBox {
    width: 100%;
    height: 4.89rem;
    margin-bottom: 0.25rem;
    background-color: #FFFFFF;
    border-radius: 0.33rem;
    padding: 0.56rem 0.5rem 0;
    box-sizing: border-box;
    position: relative;
}
.adIntroEnrollBox {
    width: 100%;
    height: 6.2rem;
    background-color: #FFFFFF;
    padding-top: 0.56rem;
    box-sizing: border-box;
    border-radius: 0.33rem;
}

.adProgressBox {
    width: 100%;
    margin-top: 0.51rem;
    @include flex(column, center, flex-start)
}
.adProgressCountBox {
    width: 100%;
    @include flex(row, space-between, center);
}
.adProgressLeft {
    @include flex(row, flex-start, baseline);
    
}
.adProgressLeftTotal {
    font-size: 0.67rem;
    color: $main-color;
    font-family: "MiSans-Semibold";
    font-weight: bold;
}
.adProgressLeftUnit {
    font-size: 0.33rem;
    color: $main-color;
    font-family: "MiSans-Medium";
}
.adProgressRight {
    font-size: 0.33rem;
    color: $main-color;
    font-family: "MiSans-Medium";
}
.adTrainProgressBox {
    width: 100%;
    height: 0.14rem;
    position: relative;
    margin-top: 0.23rem;
    border-radius: 0.25rem;
}
.adTrainProgressBc {
    width: 100%;
    height: 0.14rem;
    background-color: #F1F3F8;
    border-radius: 0.25rem;
}
.adTrainProgress {
    height: 0.14rem;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(270deg, #FF8D27 0%, #FFC327 100%);
    border-radius: 0.25rem;
}
.adTrainProgressTip {
    font-size: 0.28rem;
    color: $thr-color;
    font-family: "MiSans-Regular";
    margin-top: 0.25rem;
    display: flex;
}
.adTrainProgressTipTit {
    margin-right: 0.06rem;
}

.adRichContent {
    width: 100%;
    padding: 0.36rem 0;
    background: #FFFFFF;
    border-radius: 0.33rem;
    box-sizing: border-box;
    margin-top: 0.25rem;
}

.adTrainImgBox {
    width: 100%;
    padding: 0 0 0 0.12rem;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    bottom: 0.3rem;
    .adTrainImg {
        width: 100%;
    }
}


.adEnrollBtnBox {
    width: 100%;
    height: 1.53rem;
    padding: 0 0.83rem;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    bottom: 0;
}
.adEnrollBtn {
    width: 100%;
    height: 0.97rem;
    background: #FF612E;
    border-radius: 0.69rem;
    @include flex(row, center, center);
    font-size: 0.33rem;
    color: #FFFFFF;
    font-family: "MiSans-Medium";
}

.adFinishStatus {
    width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
}
.adFinishStatusImg {
    width: 1.6rem;
    height: 1.6rem;
}

.adModelTit {
    width: 100%;
    text-align: center;
    padding-top: 0.56rem;
    font-size: 0.35rem;
    color: $main-color;
    font-family: "MiSans-Medium";
    margin-bottom: 0.35rem;
}

.adModelUl {
    width: 100%;
    padding: 0 0.83rem;
    height: 7.5rem;
    overflow-y: scroll;
    box-sizing: border-box;
}

.adModelLi {
    margin-bottom: 0.7rem;
    .adModelLiTit {
        font-size: 0.33rem;
        color: $rich-color;
        font-family: "MiSans-Medium";
        line-height: 0.49rem;
    }
    .adModelLiTxt {
        font-size: 0.33rem;
        color: $thr-color;
        font-family: "MiSans-Regular";
        line-height: 0.49rem;
    }
}

.adModelBtnBox {
    width: 100%;
    padding: 0.56rem 0.56rem 0;
    box-sizing: border-box;
    @include flex(row, space-between, center);
}
.adModelBtnCancel, .adModelBtnFix {
    width: 3.06rem;
    height: 0.97rem;
    border-radius: 0.69rem;
    font-size: 0.33rem;
    font-family: "MiSans-Medium";
    @include flex(row, center, center);
}
.adModelBtnCancel {
    background: rgba(0,0,0,0.06);
    color: $rich-color;
}
.adModelBtnFix {
    background: #FF612E;
    color: #FFFFFF;
}